package com.roy.spring.multitenant.model;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

/**
 * Created by admin on 17-12-17.
 */
@Component
public interface UserRepository extends JpaRepository<User, Long> {

    public User findByUsername(String username);
}
